package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName FieldListShowRequest.java
 * @Description TODO
 * @createTime 2023年09月22日
 */
@Data
public class FieldListShowRequest {

    @ApiModelProperty(value = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;


    @ApiModelProperty(value = "字段编码")
    @NotBlank(message = "字段编码不能为空")
    private String fieldCode;

    @ApiModelProperty(value = "列表字段排序")
    private Integer fieldSort;

    @ApiModelProperty(value = "展示状态：0 已选 1未选")
    @NotNull(message = "展示状态不能为空")
    private Integer showStatus;

    private String fieldName;

}